<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<div class="top">
    <div class="py-container">
        <div class="shortcut">
            <ul class="fl">
                <c:if test="${isLogin}">
                    <li class="f-item">您好，${username}</li>
                    <li class="f-item">
                        <span><a href="${ctx}/logout">退出</a></span>
                    </li>
                </c:if>
                <c:if test="${!isLogin}">
                    <li class="f-item">瓷器商城欢迎您！</li>
                    <li class="f-item">
                        请<a href="${ctx}/authentication/require">登录</a>　
                        <span><a href="${ctx}/register">免费注册</a></span>
                    </li>
                </c:if>
            </ul>
            <ul class="fr">
                <li class="f-item"><a href="${ctx}/order/list" target="_blank">我的订单</a></li>
                <li class="f-item space"></li>
                <li class="f-item"><a href="${ctx}/user/details" target="_blank">我的主页</a></li>
                <li class="f-item space"></li>
                <%--<li class="f-item">瓷器商城会员</li>
                <li class="f-item space"></li>
                <li class="f-item">企业采购</li>
                <li class="f-item space"></li>
                <li class="f-item">关注瓷器商城</li>
                <li class="f-item space"></li>--%>
                <li class="f-item" id="service">
                    <span>客户服务</span>
                    <ul class="service">
                        <li><a href="${ctx}/settle">商家入驻</a></li>
                        <li><a href="http://localhost:8080/admin/index.html" target="_blank">商家后台</a></li>
                        <li><a href="${ctx}/settle">商家入驻</a></li>
                        <li><a href="http://localhost:8080/admin/index.html" target="_blank">商家后台</a></li>
                    </ul>
                </li>
                <%--<li class="f-item space"></li>
                <li class="f-item">网站导航</li>--%>
            </ul>
        </div>
    </div>
</div>
